jquery.makeCollapsible: clean up the handler toggling logic
authorMatmaRex <matma.rex@gmail.com>
Wed, 13 Mar 2013 21:42:55 +0000 (22:42 +0100)
committerMatmaRex <matma.rex@gmail.com>
Fri, 15 Mar 2013 23:06:15 +0000 (00:06 +0100)
commit2638b16c524482042de4c2aae65c86acb26d99f8
tree14c9a65718e9877c735b37c7c4bcb14c4f459665
parent7f4e344b2404f3eb51d1facdcfaaa9f4499c4d6b
jquery.makeCollapsible: clean up the handler toggling logic

Merged three functions which did almost the same thing into one,
togglingHandler(), which takes a few options instead.

Left the old functions as wrappers for now, I'll clean them up in
another commit.

Change-Id: Id3f457a84064382f2d962e9ac4d926827de93126
resources/jquery/jquery.makeCollapsible.js